package dao;

import java.util.HashMap;
import java.util.List;

import model.Businessdict;

import org.springframework.stereotype.Repository;

import com.github.miemiedev.mybatis.paginator.domain.PageBounds;

@Repository
public interface BusiDictDao {
	/**
	 * 新建
	 * 
	 * @param businessdict
	 */
	public void save(Businessdict businessdict);

	/**
	 * 修改
	 * 
	 * @param businessdict
	 */
	public void update(Businessdict businessdict);

	/**
	 * 删除
	 * 
	 * @param id
	 */
	public void delete(Integer id);

	public void deleteByType(Integer type);

	/**
	 * 列表
	 * 
	 * @param pageBounds
	 * @return
	 */
	public List<HashMap<String, Object>> queryPage(PageBounds pageBounds,
			HashMap<String, Object> map);

	public List<Businessdict> getByType(String type);
}
